"""
答题模块的题目数据
包含5个关卡，每个关卡5道题，总共25道环保知识题目
"""

# 关卡数据
LEVELS_DATA = [
    {
        "level_id": 1,
        "level_name": "入门关卡",
        "difficulty": "简单",
        "description": "基础环保知识，适合初学者"
    },
    {
        "level_id": 2,
        "level_name": "进阶关卡", 
        "difficulty": "中等",
        "description": "垃圾分类和能源知识"
    },
    {
        "level_id": 3,
        "level_name": "熟练关卡",
        "difficulty": "中等",
        "description": "水资源保护和气候变化"
    },
    {
        "level_id": 4,
        "level_name": "专家关卡",
        "difficulty": "困难", 
        "description": "环保政策和可持续生活"
    },
    {
        "level_id": 5,
        "level_name": "大师关卡",
        "difficulty": "困难",
        "description": "综合环保知识和实践"
    }
]

# 题目数据 - 每个关卡5道题
QUESTIONS_DATA = [
    # 关卡1: 入门关卡
    {
        "question_id": 1,
        "level_id": 1,
        "content": "以下哪种行为最有利于减少碳排放？",
        "options": [
            "开车上下班",
            "使用一次性塑料袋", 
            "步行或骑行代替短途开车",
            "每天开空调16小时"
        ],
        "correct_option_index": 3,
        "explanation": "步行或骑行是零碳排放的出行方式，能有效减少二氧化碳排放。"
    },
    {
        "question_id": 2,
        "level_id": 1,
        "content": "可回收垃圾应该放在什么颜色的垃圾桶？",
        "options": [
            "红色垃圾桶",
            "蓝色垃圾桶",
            "灰色垃圾桶",
            "黄色垃圾桶"
        ],
        "correct_option_index": 2,
        "explanation": "在中国，蓝色垃圾桶通常用于收集可回收物，如纸张、塑料瓶等。"
    },
    {
        "question_id": 3,
        "level_id": 1,
        "content": "下列哪种能源属于可再生能源？",
        "options": [
            "煤炭",
            "石油",
            "天然气",
            "太阳能"
        ],
        "correct_option_index": 4,
        "explanation": "太阳能是可再生能源，不会枯竭且不会产生温室气体。"
    },
    {
        "question_id": 4,
        "level_id": 1,
        "content": "全球变暖主要是由哪种气体增加引起的？",
        "options": [
            "氧气",
            "氮气",
            "二氧化碳",
            "氢气"
        ],
        "correct_option_index": 3,
        "explanation": "二氧化碳是主要的温室气体，过量排放会导致全球气温上升。"
    },
    {
        "question_id": 5,
        "level_id": 1,
        "content": "哪种购物方式更环保？",
        "options": [
            "使用塑料袋",
            "使用一次性纸袋",
            "使用环保购物袋",
            "使用塑料袋但重复使用"
        ],
        "correct_option_index": 3,
        "explanation": "环保购物袋可以重复使用多年，大大减少塑料垃圾的产生。"
    },
    
    # 关卡2: 进阶关卡
    {
        "question_id": 6,
        "level_id": 2,
        "content": "废旧电池应该如何处理？",
        "options": [
            "扔进普通垃圾桶",
            "扔进有害垃圾箱",
            "埋在地下",
            "扔进河里"
        ],
        "correct_option_index": 2,
        "explanation": "废旧电池含有重金属，属于有害垃圾，需要专门处理。"
    },
    {
        "question_id": 7,
        "level_id": 2,
        "content": "LED灯比传统白炽灯节能多少？",
        "options": [
            "节能10%",
            "节能30%",
            "节能80%",
            "不节能"
        ],
        "correct_option_index": 3,
        "explanation": "LED灯比传统白炽灯节能80%以上，且寿命更长。"
    },
    {
        "question_id": 8,
        "level_id": 2,
        "content": "下列哪种塑料制品最难降解？",
        "options": [
            "塑料袋",
            "塑料瓶",
            "泡沫塑料",
            "所有塑料制品都很难降解"
        ],
        "correct_option_index": 4,
        "explanation": "大多数塑料制品需要数百年才能完全降解，对环境造成长期污染。"
    },
    {
        "question_id": 9,
        "level_id": 2,
        "content": "中国在哪一年开始实施垃圾分类？",
        "options": [
            "2015年",
            "2019年",
            "2020年",
            "2021年"
        ],
        "correct_option_index": 3,
        "explanation": "2020年是中国垃圾分类全面推进的重要年份。"
    },
    {
        "question_id": 10,
        "level_id": 2,
        "content": "哪种出行方式的碳排放最低？",
        "options": [
            "私家车",
            "公交车",
            "地铁",
            "高铁"
        ],
        "correct_option_index": 3,
        "explanation": "地铁是电力驱动，单位乘客的碳排放量远低于其他交通方式。"
    },
    
    # 关卡3: 熟练关卡
    {
        "question_id": 11,
        "level_id": 3,
        "content": "世界水日是哪一天？",
        "options": [
            "3月22日",
            "4月22日", 
            "6月5日",
            "9月16日"
        ],
        "correct_option_index": 1,
        "explanation": "世界水日是每年的3月22日，旨在唤起公众的水资源保护意识。"
    },
    {
        "question_id": 12,
        "level_id": 3,
        "content": "下列哪种行为最浪费水资源？",
        "options": [
            "用盆接水洗菜",
            "用节水型马桶",
            "长时间开着水龙头",
            "收集雨水浇花"
        ],
        "correct_option_index": 3,
        "explanation": "长时间开着水龙头会让大量洁净水白白流走，是最浪费的行为。"
    },
    {
        "question_id": 13,
        "level_id": 3,
        "content": "《巴黎协定》的主要目标是什么？",
        "options": [
            "促进全球贸易",
            "控制全球气温上升",
            "减少贫困",
            "促进科技创新"
        ],
        "correct_option_index": 2,
        "explanation": "《巴黎协定》旨在将全球平均气温较前工业化时期上升幅度控制在2℃以内。"
    },
    {
        "question_id": 14,
        "level_id": 3,
        "content": "哪种农业方式最有利于生态保护？",
        "options": [
            "大规模机械化农业",
            "有机农业",
            "转基因农业",
            "传统农业"
        ],
        "correct_option_index": 2,
        "explanation": "有机农业不使用化学农药和化肥，对土壤和水源污染最小。"
    },
    {
        "question_id": 15,
        "level_id": 3,
        "content": "碳中和指的是什么？",
        "options": [
            "完全不排放二氧化碳",
            "排放的二氧化碳等于吸收的二氧化碳",
            "只排放不吸收二氧化碳",
            "只吸收不排放二氧化碳"
        ],
        "correct_option_index": 2,
        "explanation": "碳中和是指通过植树造林、节能减排等形式，抵消自身产生的二氧化碳排放量。"
    },
    
    # 关卡4: 专家关卡
    {
        "question_id": 16,
        "level_id": 4,
        "content": "中国提出的'双碳'目标指的是什么？",
        "options": [
            "碳达峰和碳中和",
            "碳减排和碳吸收",
            "碳交易和碳税",
            "碳监测和碳报告"
        ],
        "correct_option_index": 1,
        "explanation": "'双碳'目标是指2030年前实现碳达峰，2060年前实现碳中和。"
    },
    {
        "question_id": 17,
        "level_id": 4,
        "content": "下列哪种不属于清洁能源？",
        "options": [
            "风能",
            "核能", 
            "太阳能",
            "煤炭"
        ],
        "correct_option_index": 4,
        "explanation": "煤炭是化石燃料，燃烧会产生大量二氧化碳和污染物，不属于清洁能源。"
    },
    {
        "question_id": 18,
        "level_id": 4,
        "content": "ESG投资中的'E'代表什么？",
        "options": [
            "经济",
            "环境",
            "教育",
            "效率"
        ],
        "correct_option_index": 2,
        "explanation": "ESG投资中的E代表环境(Environment)，关注企业的环保表现。"
    },
    {
        "question_id": 19,
        "level_id": 4,
        "content": "下列哪种物质对臭氧层破坏最大？",
        "options": [
            "二氧化碳",
            "氟利昂",
            "甲烷",
            "一氧化碳"
        ],
        "correct_option_index": 2,
        "explanation": "氟利昂等含氯氟烃是破坏臭氧层的主要物质。"
    },
    {
        "question_id": 20,
        "level_id": 4,
        "content": "'绿色GDP'的计算考虑了哪些因素？",
        "options": [
            "只考虑经济增长",
            "考虑环境成本和资源消耗",
            "只考虑社会福利",
            "考虑国际竞争力"
        ],
        "correct_option_index": 2,
        "explanation": "绿色GDP在传统GDP基础上扣除了环境资源成本和对环境资源的保护服务费用。"
    },
    
    # 关卡5: 大师关卡
    {
        "question_id": 21,
        "level_id": 5,
        "content": "下列哪种技术最有潜力解决能源储存问题？",
        "options": [
            "抽水蓄能",
            "锂电池技术",
            "氢能储存",
            "压缩空气储能"
        ],
        "correct_option_index": 3,
        "explanation": "氢能具有高能量密度和长期储存的优势，是解决可再生能源间歇性问题的关键。"
    },
    {
        "question_id": 22,
        "level_id": 5,
        "content": "'碳足迹'衡量的是什么？",
        "options": [
            "个人或组织的碳排放总量",
            "森林碳吸收能力",
            "工业碳排放强度",
            "交通工具的碳排放"
        ],
        "correct_option_index": 1,
        "explanation": "碳足迹衡量的是个人、组织或产品在整个生命周期中直接和间接产生的温室气体排放总量。"
    },
    {
        "question_id": 23,
        "level_id": 5,
        "content": "下列哪种属于'蓝色碳汇'？",
        "options": [
            "森林",
            "草原",
            "红树林",
            "农田"
        ],
        "correct_option_index": 3,
        "explanation": "蓝色碳汇指海洋生态系统（如红树林、海草床等）吸收和储存碳的能力。"
    },
    {
        "question_id": 24,
        "level_id": 5,
        "content": "'循环经济'的三个核心原则是什么？",
        "options": [
            "减量化、再利用、资源化",
            "生产、消费、废弃",
            "开采、制造、销售",
            "节约、保护、修复"
        ],
        "correct_option_index": 1,
        "explanation": "循环经济的3R原则是：减量化(Reduce)、再利用(Reuse)、资源化(Recycle)。"
    },
    {
        "question_id": 25,
        "level_id": 5,
        "content": "下列哪种国际协议专门针对生物多样性保护？",
        "options": [
            "《京都议定书》",
            "《生物多样性公约》",
            "《巴黎协定》",
            "《蒙特利尔议定书》"
        ],
        "correct_option_index": 2,
        "explanation": "《生物多样性公约》是保护地球生物资源的国际性公约，于1993年正式生效。"
    }
]